package org.example.dubbo.linkprovider.impl;

import lombok.var;
import org.apache.dubbo.config.annotation.DubboService;
import org.example.dubbo.linkapi.User;
import org.example.dubbo.linkapi.UserService;

@DubboService(interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {
    @Override
    public User queryUserById(Integer id) {
        var user = new User();
        user.setId(1001);
        user.setUsername("1111");
        user.setAge(23);
        return user;
    }
}
